package com.darren.euc.service;

import java.util.List;

import com.darren.euc.entity.Bill;
import com.darren.euc.entity.BillDetail;
import com.darren.euc.entity.PageBean;

import net.sf.json.JSONObject;

public interface BillService {
    
	public Bill save(Bill bill);
    
	public Bill update(Bill bill);
	
	public void delete(Bill bill);
	
	public BillDetail saveBillDetail(BillDetail billDetail);
	
	public BillDetail updateBillDetail(BillDetail billDetail);
	
	public void deleteBillDetail(Integer billDetailId);
    
	public List<Bill> getAll();
	
	public void generateBillData();
	
	public void updateBillStatus();
	
	@SuppressWarnings("rawtypes")
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);
	
}